[INFO] cloning repository https://github.com/kaioluanro/emulador-gba
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaioluanro/emulador-gba" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaioluanro%2Femulador-gba", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaioluanro%2Femulador-gba'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93877c3adfe0db1a962b95f042b81a4e2390392a
[INFO] checking kaioluanro/emulador-gba against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaioluanro%2Femulador-gba" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kaioluanro/emulador-gba on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kaioluanro/emulador-gba
[INFO] finished tweaking git repo https://github.com/kaioluanro/emulador-gba
[INFO] tweaked toml for git repo https://github.com/kaioluanro/emulador-gba written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/kaioluanro/emulador-gba already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 539be272c1459e1ee5e7b588c94e34b7cbcb6c6ff622a53142d6ca4af1a6a76b
[INFO] running `Command { std: "docker" "start" "-a" "539be272c1459e1ee5e7b588c94e34b7cbcb6c6ff622a53142d6ca4af1a6a76b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "539be272c1459e1ee5e7b588c94e34b7cbcb6c6ff622a53142d6ca4af1a6a76b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "539be272c1459e1ee5e7b588c94e34b7cbcb6c6ff622a53142d6ca4af1a6a76b", kill_on_drop: false }`
[INFO] [stdout] 539be272c1459e1ee5e7b588c94e34b7cbcb6c6ff622a53142d6ca4af1a6a76b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f800ecb6eed620541d4410e65451c9ebe287c54c5e082fde488148d39f6d4f8
[INFO] running `Command { std: "docker" "start" "-a" "9f800ecb6eed620541d4410e65451c9ebe287c54c5e082fde488148d39f6d4f8", kill_on_drop: false }`
[INFO] [stderr]     Checking emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget`
[INFO] [stdout]    --> src/main.rs:165:43
[INFO] [stdout]     |
[INFO] [stdout] 165 |             0x02 => Some(Instruction::INC(IncDecTarget::BC)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `IncDecTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget`
[INFO] [stdout]    --> src/main.rs:165:43
[INFO] [stdout]     |
[INFO] [stdout] 165 |             0x02 => Some(Instruction::INC(IncDecTarget::BC)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `IncDecTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget`
[INFO] [stdout]    --> src/main.rs:166:43
[INFO] [stdout]     |
[INFO] [stdout] 166 |             0x13 => Some(Instruction::INC(IncDecTarget::DE)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `IncDecTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget`
[INFO] [stdout]    --> src/main.rs:166:43
[INFO] [stdout]     |
[INFO] [stdout] 166 |             0x13 => Some(Instruction::INC(IncDecTarget::DE)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `IncDecTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrefixTarget`
[INFO] [stdout]    --> src/main.rs:183:43
[INFO] [stdout]     |
[INFO] [stdout] 183 |             0x00 => Some(Instruction::RLC(PrefixTarget::B)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `PrefixTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrefixTarget`
[INFO] [stdout]    --> src/main.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |             0x02 => Some(Instruction::RLC(PrefixTarget::BC)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `PrefixTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrefixTarget`
[INFO] [stdout]    --> src/main.rs:183:43
[INFO] [stdout]     |
[INFO] [stdout] 183 |             0x00 => Some(Instruction::RLC(PrefixTarget::B)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `PrefixTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         (if flag.zero   {1} else {0}) << ZERO_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrefixTarget`
[INFO] [stdout]    --> src/main.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |             0x02 => Some(Instruction::RLC(PrefixTarget::BC)),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ use of undeclared type `PrefixTarget`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         (if flag.subtract  {1} else {0}) << SUBSTRACT_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         (if flag.half_carry   {1} else {0}) << HALF_CARRY_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         (if flag.zero   {1} else {0}) << ZERO_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         (if flag.carry   {1} else {0}) << CARRY_FLAG_BYTE_POSITION
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         (if flag.subtract  {1} else {0}) << SUBSTRACT_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         (if flag.half_carry   {1} else {0}) << HALF_CARRY_FLAG_BYTE_POSITION |
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `flag` in this scope
[INFO] [stdout]   --> src/main.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         (if flag.carry   {1} else {0}) << CARRY_FLAG_BYTE_POSITION
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `emulator`
[INFO] [stdout]    --> src/main.rs:194:2
[INFO] [stdout]     |
[INFO] [stdout] 194 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0201]: duplicate definitions with name `from_byte_prefixed`:
[INFO] [stdout]    --> src/main.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ------------------------------------------------------- previous definition of `from_byte_prefixed` here
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0201]: duplicate definitions with name `from_byte_prefixed`:
[INFO] [stdout]    --> src/main.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ------------------------------------------------------- previous definition of `from_byte_prefixed` here
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn from_byte_prefixed (byte:u8) -> Option <Instruction>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0201, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0201`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0201, E0425, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0201`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `emulator` due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `emulator` due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "9f800ecb6eed620541d4410e65451c9ebe287c54c5e082fde488148d39f6d4f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f800ecb6eed620541d4410e65451c9ebe287c54c5e082fde488148d39f6d4f8", kill_on_drop: false }`
[INFO] [stdout] 9f800ecb6eed620541d4410e65451c9ebe287c54c5e082fde488148d39f6d4f8
